
<script setup lang="ts">
const loadMore = useTemplateRef('loadingRef')

useIntersectionObserver(loadMore, ([{ isIntersecting }]) => {
  console.log('loadMore isIntersecting: ', isIntersecting) 
})
</script>

<template>
  <div>
    <div ref="loadingRef">loading...</div>
  </div>
</template>

<style scoped lang="scss">

</style>